package lbframework.bean.checkBox;

import java.awt.KeyboardFocusManager;
import java.util.HashSet;
import javax.swing.KeyStroke;

public class LBCheckBox extends javax.swing.JCheckBox {

    public LBCheckBox() {
        initComponents();

        HashSet kTab = new HashSet(1);
        kTab.add(KeyStroke.getKeyStroke("TAB"));
        kTab.add(KeyStroke.getKeyStroke("ENTER"));

        setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS, kTab);
    }

    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables
}
